package test.xml;

import java.io.Serializable;
import java.util.List;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;


@XmlAccessorType(XmlAccessType.FIELD)
public class XMLBean implements Serializable  {

	private static final long serialVersionUID = 9042127208301565740L;
		
	private List<String> touser;
	private List<String> toparty;
	private List<String> totag;
	private String msgtype;
	private String agentid;
	private String text;
	private String safe;
	@XmlAttribute
	private String attribute2;
	
	public List<String> getTouser() {
		return touser;
	}
	public void setTouser(List<String> touser) {
		this.touser = touser;
	}
	public List<String> getToparty() {
		return toparty;
	}
	public void setToparty(List<String> toparty) {
		this.toparty = toparty;
	}
	public List<String> getTotag() {
		return totag;
	}
	public void setTotag(List<String> totag) {
		this.totag = totag;
	}
	public String getMsgtype() {
		return msgtype;
	}
	public void setMsgtype(String msgtype) {
		this.msgtype = msgtype;
	}
	public String getAgentid() {
		return agentid;
	}
	public void setAgentid(String agentid) {
		this.agentid = agentid;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getSafe() {
		return safe;
	}
	public void setSafe(String safe) {
		this.safe = safe;
	}
	public String getAttribute2() {
		return attribute2;
	}
	public void setAttribute2(String attribute2) {
		this.attribute2 = attribute2;
	}
	
	
}
